#ifndef WALKAWARE_SERVICES_SIGNALEDSERVICE_H
#define WALKAWARE_SERVICES_SIGNALEDSERVICE_H

#include <QThread>

#include <WalkaWare/Services/Service.h>

namespace WalkaWare
{

namespace Services
{

class SignaledService : public Service
{
	Q_OBJECT

	public:

		typedef Service         BaseType;
		typedef SignaledService ThisType;

		SignaledService(void)
		{
			this->sThread = new QThread();

			this->connect(this->sThread,     SIGNAL(started()),  SIGNAL(started()));
			this->connect(this->sThread,     SIGNAL(finished()), SIGNAL(finished()));

			this->moveToThread(this->sThread);
		}
};

} // end namespace Services

} // end namespace WalkaWare

#endif // WALKAWARE_SERVICES_SIGNALEDSERVICE_H
